adTempus API
PreviousUpNext
ISecEntities::Item Method

Retrieves the specified item

C++
HRESULT Item(long index, [out, retval] ISecEntity ** pVal);
C#
Item(long index, [out, retval] ISecEntity * pVal);
Visual Basic
Sub Item(index As long, pVal As [out, retval] ISecEntity *)
Parameters 
Description 
[in] long index 
The ordinal or SID of the item to retrieve. The collection is 0-based: valid ordinals range from 0 to Count-1. 
[out, retval] ISecEntity ** pVal 
The requested item, or NULL if the method fails 

If the ordinal is invalid or no object with the specified SID is found the method fails with error ADT_E_NOT_FOUND.

adTempus API Reference version 3.0.0.0, revised 10/30/2008